package org.yate.oa.service;

import java.util.List;
import java.util.Map;

import org.yate.oa.model.PerformanceEntity;

public interface IPerformanceService extends IBaseService<PerformanceEntity, Integer> {

	public Integer addEntity(final PerformanceEntity e);

	public List<PerformanceEntity> getEntitiesBy(final PerformanceEntity e);

	public PerformanceEntity getEntityBy(final PerformanceEntity e);

	public PerformanceEntity getLastPerformance(final PerformanceEntity e);

	public void updateStatus(final PerformanceEntity e);
	
	public List<PerformanceEntity> getMyOrgEntities(Map<String, Object> map);

}
